package com.swa99ylum.pjv.sample.s01_nodeframe.s0100;

import java.util.Map;

import com.swa99ylum.pjv.exception.JSONValidateException;
import com.swa99ylum.pjv.validator.Validator;

/**
 * 不做任何 验证，直接抛出异常，即 只是为了 将 节点信息 存储到 errorMap 中，用于 展示
 *
 */
public class FooValidator extends Validator{

	@Override
	public void doValidate(Object rootObject, String[] nodePath, String nodeName, Map<String, Object> parentValue, Object value) throws JSONValidateException {
		throw new JSONValidateException(nodePath, value, " ========= ");
	}
	
}
